home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
AmigActive 24
/
AACD 24.iso
/
AACD
/
Online
/
Epic4
/
share
/
epic
/
help
/
6_functions
/
remw
< prev
next >
Wrap
Text File
|
2001-03-21
|
661b
|
24 lines
Synopsis:
$remw(<word> <word list>)
Technical:
This function returns the input list with the first occurrence of the
given word removed.
Practical:
This function is probably most useful in text parsing within a script.
Because it only removes the first occurrence of the given word, and not
all of them, it should probably be used in conjunction with $uniq() to
be truly effective.
Returns:
input list with first occurrence of given word removed
Examples:
$remw(two one two three) returns "one three"
$remw(two one two three two one) returns "one three two one"
See Also:
remws(6); uniq(6)